package com.imooc.myo2o.param;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.hibernate.validator.constraints.NotBlank;
import org.springframework.web.multipart.commons.CommonsMultipartFile;

import javax.validation.constraints.NotNull;

@Getter
@Setter
@ToString
public class ShopParam {

	private Long shopId;

	private Long ownerId;
	private Long shopCategoryId;
	@NotBlank
	private String shopName;
	@NotBlank
	private String shopDesc;
	@NotBlank
	private String shopAddr;
	@NotBlank
	private String phone;
	private Double longitude;
	private Double latitude;
	private Integer priority;
	private Integer enableStatus;
	private String advice;

	@NotNull
	private CommonsMultipartFile img;

	@NotBlank(message = "图形验证码不能为空")
	private String code;


}
